

using System;
using System.Collections.Generic;
using System.Linq.Expressions;
using System.Threading.Tasks;
using CoreCms.Net.Model.Entities;
using CoreCms.Net.Model.ViewModels.Basics;
using CoreCms.Net.Model.ViewModels.UI;
using SqlSugar;

namespace CoreCms.Net.IServices
{
    /// <summary>
    /// 连续签到规则 服务工厂接口
    /// </summary>
    public interface ICoreCmsContinuousCheckInRulesServices : IBaseServices<CoreCmsContinuousCheckInRules>
    {

        /// <summary>
        /// 重写异步插入方法
        /// </summary>
        /// <param name="entity"></param>
        /// <returns></returns>
        Task<AdminUiCallBack> InsertAsync(List<CoreCmsContinuousCheckInRules> entity);



        /// <summary>
        /// 获取的所有数据及子集
        /// </summary>
        /// <returns></returns>
        Task<List<CoreCmsContinuousCheckInRules>> GetDataWidthChild();

    }
}
